package main

import ( 
	"./vget"
	"os"
	"fmt"
)

func main() {
	vinfo, err := vget.GetVideoInfo( os.Args[1], 10 )

	full_path, err := vinfo.Download( os.Args[2] )
	if err != nil { fmt.Println(err); return }

	fmt.Printf("\"%s\" has been downloaded!\n", full_path)

	return
}
